public class Text {

    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addLast(3);
        myLinkedList.addLast(3);
        myLinkedList.addLast(3);
        myLinkedList.addFirst(1);
        myLinkedList.display();
        myLinkedList.addIndex(1,3);
        myLinkedList.removeAllKey(3);
        System.out.println();
        myLinkedList.display();
    }
}